package com.seadragon.app.ksr.model.tiger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@IdClass(CountyId.class)
@Table(name = "COUNTY_LOOKUP", schema="TIGER")
public class CountyLookUp {
	@Id
	@Column(name = "ST_CODE")
	private int stateCode;

	@Id
	@Column(name = "CO_CODE")
	private int countyCode;

	@Column(name="STATE")
	private String state;

	@Column(name = "NAME")
	private String name;

	public int getStateCode() {
		return stateCode;
	}

	public void setStateCode(int stateCode) {
		this.stateCode = stateCode;
	}

	public int getCountyCode() {
		return countyCode;
	}

	public void setCountyCode(int countyCode) {
		this.countyCode = countyCode;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
